package com.ws.wuse.app;

import com.ws.base.util.CardUtil;

/**
 * User: zhanghang
 * Date: 2016/3/18
 * Time: 15:35
 * FIXME 常量
 */
public final class Constant {

    // log tag
    public static final String TAG = "tag";
    // sd 根目录
    public static final String ROOT_DIR = CardUtil.getSDCardPath() + "/wuse";
    // crash 日志文件夹
    public static final String CRASH_DIR = ROOT_DIR + "/crash";
    // rxvolley 缓存文件夹
    public static final String RXVOLLEY_DIR = ROOT_DIR + "/rxvolley";


    public static final boolean DEBUG = false;
    private static final String DEV_URL = "http://10.10.1.200:81/";
    private static final String REC_URL = "http://www.abaitu.com:54688/";
    public static String HTTP_URL = DEBUG ? DEV_URL : REC_URL;

    public static final String BASE_DIR = "/wuse";
    public static final String CACHE_DIR = CardUtil.getSDCardPath() + BASE_DIR + "/cache";
    public static final String AUDIO_DIR = CardUtil.getSDCardPath() + BASE_DIR + "/audio";
    public static final String VIDEO_DIR = CardUtil.getSDCardPath() + BASE_DIR + "/video";
}